package com.pangu.security;

public class SecurityContextHolder {

	private static ThreadLocal<SessionInfo> users = new ThreadLocal<SessionInfo>();
	
	public void clear() {
		users.remove();
	}
	
	public SessionInfo getSessionInfo() {
		return users.get();
	}
	
	public void setSessionInfo(SessionInfo sessionInfo) {
		users.set(sessionInfo);
	}
}
